package com.rao.crm.mapper;

import com.rao.crm.pojo.Customer;
import com.rao.crm.pojo.QueryVo;

import java.util.List;

/**
 * @author Srao
 * @version 1.0
 * @className CustomerMapper
 * @date 2019/10/6 15:58
 * @package com.rao.crm.mapper
 * @description
 */
public interface CustomerMapper {

    Integer findTotalByQueryVo(QueryVo queryVo);

    List<Customer> findCustomerByQueryVo(QueryVo queryVo);

    Customer findCustomerById(Long id);

    void updateCustomerById(Customer customer);

    void deleteCustomerById(Long id);

    void addCustomer(Customer customer);
}
